* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

img {
  display: block;
  width: 100%;
}

// 自己实现正在等待图标class
.wait {
  // 遮罩层
  &::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: .8;
    z-index: 1000;
  } // 等待的小图标
  &::after {
    animation: fa-spin 2s infinite linear;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 74px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f110";
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -37px;
    z-index: 1001;
    color: #1724b4;
  }
}

body {
  padding: 45px 0 50px;
}

.pyg_header {
  width: 100%;
  height: 45px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  padding: 5px 10px;
}

.pyg_footer {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  background-color: #fff;
  a {
    flex: 1;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-top: 3px;
    .fa {
      font-size: 22px;
    }
    .link_name {
      font-size: 14px;
    }
  }
}

.pyg_view {
  height: 100%;
  overflow: scroll;
}